package week4;

public class CarTest {
    public static void main(String[] args) {
        Car car2 = new Car("Wuling Hongguang","Business car","1999");
        System.out.println(car2);

        System.out.println("is it an antique?\t" + car2.isAntique());

        Car car1 = new Car("Yao kong che","Wan ju che","1888");
        System.out.println(car1);
        System.out.println("is it an antique?\t" + car1.isAntique());
    }
}
